From: Paul Eggert Date: Sun, 6 Mar 2011 08:17:04 +0000 (-0800) Subject: * xdisp.c (SKIP_GLYPHS): Removed unused macro. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4487^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d8d17eefd3cdad602a39a76d2f06443f6e0c9764;p=emacs.git * xdisp.c (SKIP_GLYPHS): Removed unused macro. --- diff --git a/src/ChangeLog b/src/ChangeLog index e201fdc483a..957f3c283ac 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -12,6 +12,7 @@ (produce_glyphless_glyph): Make a pointer "const" since it might point to immutable storage. (update_window_cursor): Now static, since it's not used elsewhere. + (SKIP_GLYPHS): Removed unused macro. 2011-03-06 Michael Shields (tiny change) diff --git a/src/xdisp.c b/src/xdisp.c index 3155116c48d..4c1e906c04c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12382,18 +12382,6 @@ redisplay_window_1 (Lisp_Object window) } -/* Increment GLYPH until it reaches END or CONDITION fails while - adding (GLYPH)->pixel_width to X. */ - -#define SKIP_GLYPHS(glyph, end, x, condition) \ - do \ - { \ - (x) += (glyph)->pixel_width; \ - ++(glyph); \ - } \ - while ((glyph) < (end) && (condition)) - - /* Set cursor position of W. PT is assumed to be displayed in ROW. DELTA and DELTA_BYTES are the numbers of characters and bytes by which positions recorded in ROW differ from current buffer